//
//  trastionAnimation.h
//  代码布局
//
//  Created by iOS on 16/8/8.
//  Copyright © 2016年 iOS. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol trastionAnimationDelegate
- (CGRect)getframeToView:(UIView*)view;
@end

@interface trastionAnimation : NSObject<UIViewControllerAnimatedTransitioning>
@property(nonatomic,weak)id<trastionAnimationDelegate> delegation;
@property(nonatomic,assign)BOOL reverse;//用来标记是跳转还是返回
- (instancetype)init;
@end
